/******************************************************************************
 *
 * Copyright 2010, Dream Chip Technologies GmbH. All rights reserved.
 * No part of this work may be reproduced, modified, distributed, transmitted,
 * transcribed, or translated into any language or computer format, in any form
 * or by any means without written permission of:
 * Dream Chip Technologies GmbH, Steinriede 10, 30827 Garbsen / Berenbostel,
 * Germany
 *
 *****************************************************************************/
/**
 * @file isi_iss.h
 *
 * @brief Interface description for image sensor specific implementation (iss).
 *
 *****************************************************************************/
/**
 * @page module_name_page Module Name
 * Describe here what this module does.
 *
 * For a detailed list of functions and implementation detail refer to:
 * - @ref module_name
 *
 * @defgroup ov5630_a   Illumination Profile A
 * @{
 *
 */
#ifndef __OV5630_A_H__
#define __OV5630_A_H__

#ifdef __cplusplus
extern "C"
{
#endif



/*****************************************************************************/
/**
 * CIE PROFILE A:
 *
 *  incandescent/tungsten, 2856K
 */
/*****************************************************************************/
// crosstalk matrix
const Isi3x3FloatMatrix_t  OV5630_XTalkCoeff_CIE_A =
{
    {
          2.14594f,  -0.75849f,  -0.38746f, 
         -0.53565f,   1.80222f,  -0.26656f, 
         -0.57348f,  -1.91027f,   3.48375f  
    }
};

// crosstalk offset matrix
const IsiXTalkFloatOffset_t OV5630_XTalkOffset_CIE_A =
{
    .fCtOffsetRed      = 0.0f,
    .fCtOffsetGreen    = 0.0f,
    .fCtOffsetBlue     = 0.0f
};

// gain matrix
const IsiComponentGain_t OV5630_CompGain_CIE_A =
{
    .fRed      = 1.01927f,
    .fGreenR   = 1.00000f,
    .fGreenB   = 1.00000f,
    .fBlue     = 1.70033f 
};

// mean value of gaussian mixture model
const Isi2x1FloatMatrix_t OV5630_GaussMeanValue_CIE_A =
{
    {
	    -0.08479f,  -0.00744f 
    }
};

// inverse covariance matrix
const Isi2x2FloatMatrix_t OV5630_CovarianceMatrix_CIE_A =
{
    {
        2935.41215f,  2706.92840f, 
    	2706.92840f,  4193.23072f 
    }
};

// factor in gaussian mixture model
const IsiGaussFactor_t OV5630_GaussFactor_CIE_A =
 {
    .fGaussFactor = 355.21868f 
 };

// thresholds for switching between MAP classification and interpolation
const Isi2x1FloatMatrix_t OV5630_Threshold_CIE_A =
{
    {
	    0.65000f,  0.80000f  
    }
};

// saturation curve for F11 profile
float afSaturationSensorGain_CIE_A[AWB_SATURATION_ARRAY_SIZE] =
{
    1.0f, 2.0f, 4.0f, 8.0f
};

float afSaturation_CIE_A[AWB_SATURATION_ARRAY_SIZE] =
{
    100.0f, 95.0f, 90.0f , 70.0f
};

const IsiSaturationCurve_t OV5630_SaturationCurve_CIE_A =
{
    .ArraySize      = AWB_SATURATION_ARRAY_SIZE,
    .pSensorGain    = &afSaturationSensorGain_CIE_A[0],
    .pSaturation    = &afSaturation_CIE_A[0]
};

// saturation depended color conversion matrices
IsiSatCcMatrix_t OV5630_SatCcMatrix_CIE_A[AWB_COLORMATRIX_ARRAY_SIZE] =
{
    {
        .fSaturation    = 100.0f,
        .XTalkCoeff     =
        {
            {
                 2.59708f,  -1.46592f,  -0.13116f,
                -0.24591f,   1.69010f,  -0.44419f,
                 0.03187f,  -0.91337f,   1.88150f
            }
        }
    },
    {
        .fSaturation    = 90.0f,
        .XTalkCoeff     =
        {
            {
                 2.59708f,  -1.46592f,  -0.13116f,
                -0.24591f,   1.69010f,  -0.44419f,
                 0.03187f,  -0.91337f,   1.88150f
            }
        }
    },
    {
        .fSaturation    = 80.0f,
        .XTalkCoeff     =
        {
            {
                 2.59708f,  -1.46592f,  -0.13116f,
                -0.24591f,   1.69010f,  -0.44419f,
                 0.03187f,  -0.91337f,   1.88150f
            }
        }
    },
    {
        .fSaturation    = 70.0f,
        .XTalkCoeff     =
        {
            {
                 2.59708f,  -1.46592f,  -0.13116f,
                -0.24591f,   1.69010f,  -0.44419f,
                 0.03187f,  -0.91337f,   1.88150f
            }
        }
    }
};

const IsiCcMatrixTable_t OV5630_CcMatrixTable_CIE_A =
{
    .ArraySize          = AWB_COLORMATRIX_ARRAY_SIZE,
    .pIsiSatCcMatrix    = &OV5630_SatCcMatrix_CIE_A[0]
};

// saturation depended color conversion offset vectors
IsiSatCcOffset_t OV5630_SatCcOffset_CIE_A[AWB_COLORMATRIX_ARRAY_SIZE] =
{
    {
        .fSaturation    = 100.0f,
        .CcOffset       =
        {
            .fCtOffsetRed   = 0.0f,
            .fCtOffsetGreen = 0.0f,
            .fCtOffsetBlue  = 0.0f
        }
    },
    {
        .fSaturation    = 90.0f,
        .CcOffset       =
        {
            .fCtOffsetRed   = 0.0f,
            .fCtOffsetGreen = 0.0f,
            .fCtOffsetBlue  = 0.0f
        }
    },
    {
        .fSaturation    = 80.0f,
        .CcOffset       =
        {
            .fCtOffsetRed   = 0.0f,
            .fCtOffsetGreen = 0.0f,
            .fCtOffsetBlue  = 0.0f
        }
    },
    {
        .fSaturation    = 70.0f,
        .CcOffset       =
        {
            .fCtOffsetRed   = 0.0f,
            .fCtOffsetGreen = 0.0f,
            .fCtOffsetBlue  = 0.0f
        }
    }
};

const IsiCcOffsetTable_t OV5630_CcOffsetTable_CIE_A =
{
    .ArraySize          = AWB_COLORMATRIX_ARRAY_SIZE,
    .pIsiSatCcOffset    = &OV5630_SatCcOffset_CIE_A[0]
};

// vignetting curve
float afVignettingSensorGain_CIE_A[AWB_VIGNETTING_ARRAY_SIZE] =
{
    1.0f, 2.0f, 4.0f, 8.0f
};

float afVignetting_CIE_A[AWB_VIGNETTING_ARRAY_SIZE] =
{
    100.0f, 90.0f, 80.0f, 60.0f
};

const IsiVignettingCurve_t OV5630_VignettingCurve_CIE_A =
{
    .ArraySize      = AWB_VIGNETTING_ARRAY_SIZE,
    .pSensorGain    = &afVignettingSensorGain_CIE_A[0],
    .pVignetting    = &afVignetting_CIE_A[0]
};

// vignetting dependend lsc matrices ( 720pXX  1280x720 )
IsiVignLscMatrix_t OV5630_VignLscMatrix_CIE_A_1280x720[AWB_LSCMATRIX_ARRAY_SIZE] = 
{
    // array item 0
    {
        .fVignetting    = 80.0f,
        .LscMatrix      =
        {
            // ISI_COLOR_COMPONENT_RED
            {
                {
                    1895U, 1794U, 1699U, 1630U, 1553U, 1463U, 1390U, 1325U, 1299U, 1317U, 1381U, 1470U, 1550U, 1622U, 1713U, 1809U, 1881U,
                    1859U, 1786U, 1704U, 1623U, 1540U, 1457U, 1365U, 1302U, 1269U, 1292U, 1364U, 1451U, 1545U, 1614U, 1703U, 1791U, 1864U,
                    1808U, 1750U, 1663U, 1587U, 1493U, 1398U, 1308U, 1235U, 1208U, 1231U, 1305U, 1396U, 1498U, 1582U, 1666U, 1743U, 1834U,
                    1792U, 1704U, 1626U, 1535U, 1451U, 1349U, 1257U, 1180U, 1153U, 1179U, 1253U, 1351U, 1453U, 1546U, 1626U, 1714U, 1787U,
                    1745U, 1683U, 1587U, 1516U, 1409U, 1308U, 1212U, 1137U, 1112U, 1134U, 1206U, 1308U, 1419U, 1510U, 1602U, 1679U, 1772U,
                    1738U, 1657U, 1585U, 1490U, 1386U, 1280U, 1173U, 1104U, 1073U, 1101U, 1171U, 1275U, 1379U, 1492U, 1583U, 1663U, 1732U,
                    1705U, 1648U, 1554U, 1465U, 1357U, 1250U, 1149U, 1074U, 1046U, 1066U, 1142U, 1243U, 1357U, 1468U, 1559U, 1652U, 1716U,
                    1706U, 1632U, 1555U, 1457U, 1349U, 1236U, 1132U, 1056U, 1031U, 1051U, 1120U, 1226U, 1344U, 1456U, 1551U, 1642U, 1715U,
                    1706U, 1636U, 1552U, 1456U, 1344U, 1232U, 1130U, 1052U, 1024U, 1045U, 1122U, 1220U, 1342U, 1451U, 1548U, 1629U, 1708U,
                    1722U, 1646U, 1562U, 1465U, 1352U, 1242U, 1136U, 1060U, 1034U, 1055U, 1129U, 1232U, 1344U, 1459U, 1559U, 1644U, 1713U,
                    1731U, 1654U, 1574U, 1483U, 1373U, 1260U, 1154U, 1082U, 1051U, 1074U, 1149U, 1251U, 1367U, 1477U, 1571U, 1663U, 1720U,
                    1749U, 1686U, 1591U, 1507U, 1402U, 1289U, 1190U, 1111U, 1082U, 1108U, 1178U, 1277U, 1394U, 1504U, 1592U, 1664U, 1756U,
                    1804U, 1723U, 1652U, 1553U, 1452U, 1345U, 1242U, 1166U, 1139U, 1158U, 1228U, 1333U, 1447U, 1540U, 1632U, 1726U, 1770U,
                    1816U, 1742U, 1658U, 1577U, 1483U, 1376U, 1283U, 1207U, 1175U, 1200U, 1268U, 1362U, 1475U, 1562U, 1654U, 1737U, 1816U,
                    1858U, 1780U, 1700U, 1621U, 1532U, 1437U, 1339U, 1265U, 1236U, 1256U, 1326U, 1422U, 1518U, 1610U, 1692U, 1772U, 1841U,
                    1891U, 1823U, 1736U, 1665U, 1567U, 1488U, 1395U, 1328U, 1298U, 1315U, 1384U, 1470U, 1575U, 1648U, 1728U, 1809U, 1901U,
                    1926U, 1873U, 1774U, 1686U, 1607U, 1519U, 1436U, 1371U, 1346U, 1362U, 1434U, 1521U, 1585U, 1684U, 1745U, 1852U, 1909U
                },
            }, 

            // ISI_COLOR_COMPONENT_GREENR
            {
                {
                    1673U, 1618U, 1534U, 1476U, 1406U, 1346U, 1284U, 1243U, 1224U, 1231U, 1281U, 1344U, 1416U, 1470U, 1546U, 1627U, 1704U,
                    1681U, 1617U, 1547U, 1483U, 1418U, 1352U, 1287U, 1240U, 1214U, 1233U, 1281U, 1344U, 1419U, 1481U, 1549U, 1618U, 1685U,
                    1629U, 1580U, 1506U, 1442U, 1376U, 1303U, 1236U, 1182U, 1160U, 1181U, 1235U, 1304U, 1377U, 1448U, 1516U, 1582U, 1656U,
                    1606U, 1551U, 1482U, 1416U, 1342U, 1266U, 1192U, 1141U, 1124U, 1140U, 1194U, 1271U, 1348U, 1420U, 1486U, 1552U, 1621U,
                    1583U, 1530U, 1454U, 1391U, 1316U, 1236U, 1156U, 1113U, 1095U, 1108U, 1158U, 1239U, 1316U, 1393U, 1463U, 1527U, 1602U,
                    1562U, 1509U, 1443U, 1368U, 1292U, 1210U, 1132U, 1083U, 1063U, 1084U, 1131U, 1207U, 1294U, 1378U, 1450U, 1516U, 1580U,
                    1555U, 1492U, 1426U, 1354U, 1276U, 1187U, 1110U, 1062U, 1040U, 1057U, 1112U, 1186U, 1274U, 1357U, 1436U, 1495U, 1564U,
                    1541U, 1487U, 1418U, 1345U, 1264U, 1173U, 1103U, 1045U, 1025U, 1043U, 1097U, 1168U, 1262U, 1349U, 1419U, 1494U, 1548U,
                    1547U, 1493U, 1422U, 1348U, 1263U, 1173U, 1101U, 1042U, 1024U, 1040U, 1097U, 1169U, 1260U, 1346U, 1425U, 1500U, 1555U,
                    1554U, 1500U, 1430U, 1353U, 1270U, 1178U, 1106U, 1049U, 1031U, 1047U, 1103U, 1175U, 1268U, 1355U, 1434U, 1502U, 1568U,
                    1573U, 1511U, 1443U, 1368U, 1286U, 1198U, 1123U, 1068U, 1048U, 1067U, 1119U, 1195U, 1286U, 1372U, 1445U, 1519U, 1571U,
                    1578U, 1527U, 1460U, 1387U, 1306U, 1224U, 1144U, 1092U, 1073U, 1092U, 1141U, 1218U, 1303U, 1392U, 1462U, 1530U, 1599U,
                    1631U, 1566U, 1501U, 1429U, 1348U, 1266U, 1189U, 1131U, 1116U, 1131U, 1184U, 1263U, 1348U, 1428U, 1502U, 1570U, 1638U,
                    1632U, 1587U, 1513U, 1448U, 1373U, 1293U, 1219U, 1162U, 1139U, 1159U, 1217U, 1286U, 1368U, 1446U, 1516U, 1580U, 1652U,
                    1675U, 1615U, 1552U, 1479U, 1412U, 1338U, 1265U, 1213U, 1194U, 1210U, 1263U, 1331U, 1408U, 1477U, 1544U, 1615U, 1682U,
                    1702U, 1666U, 1582U, 1519U, 1453U, 1383U, 1315U, 1265U, 1243U, 1263U, 1312U, 1378U, 1448U, 1513U, 1580U, 1653U, 1731U,
                    1747U, 1677U, 1625U, 1541U, 1483U, 1412U, 1353U, 1303U, 1284U, 1298U, 1348U, 1413U, 1475U, 1543U, 1605U, 1682U, 1758U
                },
            },

            // ISI_COLOR_COMPONENT_GREENB
            {
                {
                    1673U, 1618U, 1534U, 1476U, 1406U, 1346U, 1284U, 1243U, 1224U, 1231U, 1281U, 1344U, 1416U, 1470U, 1546U, 1627U, 1704U,
                    1681U, 1617U, 1547U, 1483U, 1418U, 1352U, 1287U, 1240U, 1214U, 1233U, 1281U, 1344U, 1419U, 1481U, 1549U, 1618U, 1685U,
                    1629U, 1580U, 1506U, 1442U, 1376U, 1303U, 1236U, 1182U, 1160U, 1181U, 1235U, 1304U, 1377U, 1448U, 1516U, 1582U, 1656U,
                    1606U, 1551U, 1482U, 1416U, 1342U, 1266U, 1192U, 1141U, 1124U, 1140U, 1194U, 1271U, 1348U, 1420U, 1486U, 1552U, 1621U,
                    1583U, 1530U, 1454U, 1391U, 1316U, 1236U, 1156U, 1113U, 1095U, 1108U, 1158U, 1239U, 1316U, 1393U, 1463U, 1527U, 1602U,
                    1562U, 1509U, 1443U, 1368U, 1292U, 1210U, 1132U, 1083U, 1063U, 1084U, 1131U, 1207U, 1294U, 1378U, 1450U, 1516U, 1580U,
                    1555U, 1492U, 1426U, 1354U, 1276U, 1187U, 1110U, 1062U, 1040U, 1057U, 1112U, 1186U, 1274U, 1357U, 1436U, 1495U, 1564U,
                    1541U, 1487U, 1418U, 1345U, 1264U, 1173U, 1103U, 1045U, 1025U, 1043U, 1097U, 1168U, 1262U, 1349U, 1419U, 1494U, 1548U,
                    1547U, 1493U, 1422U, 1348U, 1263U, 1173U, 1101U, 1042U, 1024U, 1040U, 1097U, 1169U, 1260U, 1346U, 1425U, 1500U, 1555U,
                    1554U, 1500U, 1430U, 1353U, 1270U, 1178U, 1106U, 1049U, 1031U, 1047U, 1103U, 1175U, 1268U, 1355U, 1434U, 1502U, 1568U,
                    1573U, 1511U, 1443U, 1368U, 1286U, 1198U, 1123U, 1068U, 1048U, 1067U, 1119U, 1195U, 1286U, 1372U, 1445U, 1519U, 1571U,
                    1578U, 1527U, 1460U, 1387U, 1306U, 1224U, 1144U, 1092U, 1073U, 1092U, 1141U, 1218U, 1303U, 1392U, 1462U, 1530U, 1599U,
                    1631U, 1566U, 1501U, 1429U, 1348U, 1266U, 1189U, 1131U, 1116U, 1131U, 1184U, 1263U, 1348U, 1428U, 1502U, 1570U, 1638U,
                    1632U, 1587U, 1513U, 1448U, 1373U, 1293U, 1219U, 1162U, 1139U, 1159U, 1217U, 1286U, 1368U, 1446U, 1516U, 1580U, 1652U,
                    1675U, 1615U, 1552U, 1479U, 1412U, 1338U, 1265U, 1213U, 1194U, 1210U, 1263U, 1331U, 1408U, 1477U, 1544U, 1615U, 1682U,
                    1702U, 1666U, 1582U, 1519U, 1453U, 1383U, 1315U, 1265U, 1243U, 1263U, 1312U, 1378U, 1448U, 1513U, 1580U, 1653U, 1731U,
                    1747U, 1677U, 1625U, 1541U, 1483U, 1412U, 1353U, 1303U, 1284U, 1298U, 1348U, 1413U, 1475U, 1543U, 1605U, 1682U, 1758U
                },
            },

            // ISI_COLOR_COMPONENT_BLUE
            {
                {
                    1587U, 1506U, 1456U, 1405U, 1352U, 1307U, 1252U, 1217U, 1194U, 1205U, 1251U, 1305U, 1352U, 1406U, 1471U, 1524U, 1607U,
                    1557U, 1511U, 1459U, 1402U, 1352U, 1297U, 1246U, 1203U, 1179U, 1199U, 1238U, 1296U, 1352U, 1405U, 1469U, 1536U, 1587U,
                    1526U, 1492U, 1425U, 1375U, 1324U, 1261U, 1212U, 1156U, 1140U, 1156U, 1203U, 1261U, 1326U, 1385U, 1442U, 1498U, 1555U,
                    1504U, 1465U, 1406U, 1355U, 1292U, 1236U, 1170U, 1124U, 1104U, 1120U, 1169U, 1233U, 1300U, 1363U, 1418U, 1477U, 1544U,
                    1488U, 1444U, 1388U, 1332U, 1268U, 1203U, 1142U, 1094U, 1075U, 1095U, 1141U, 1207U, 1281U, 1336U, 1407U, 1457U, 1510U,
                    1481U, 1432U, 1376U, 1318U, 1252U, 1186U, 1121U, 1070U, 1053U, 1069U, 1117U, 1185U, 1258U, 1323U, 1387U, 1442U, 1501U,
                    1467U, 1421U, 1364U, 1301U, 1237U, 1168U, 1101U, 1054U, 1033U, 1052U, 1098U, 1167U, 1245U, 1313U, 1375U, 1436U, 1491U,
                    1465U, 1415U, 1362U, 1298U, 1232U, 1159U, 1096U, 1043U, 1024U, 1040U, 1087U, 1156U, 1234U, 1304U, 1368U, 1431U, 1486U,
                    1463U, 1424U, 1364U, 1301U, 1231U, 1159U, 1091U, 1045U, 1025U, 1040U, 1088U, 1159U, 1234U, 1306U, 1376U, 1437U, 1488U,
                    1468U, 1423U, 1365U, 1310U, 1235U, 1163U, 1097U, 1050U, 1029U, 1044U, 1094U, 1164U, 1239U, 1317U, 1383U, 1437U, 1494U,
                    1487U, 1448U, 1378U, 1327U, 1252U, 1181U, 1118U, 1065U, 1043U, 1066U, 1112U, 1180U, 1262U, 1331U, 1398U, 1459U, 1503U,
                    1503U, 1458U, 1407U, 1338U, 1276U, 1203U, 1141U, 1090U, 1072U, 1086U, 1142U, 1203U, 1284U, 1354U, 1416U, 1482U, 1512U,
                    1540U, 1496U, 1434U, 1377U, 1313U, 1246U, 1180U, 1129U, 1111U, 1129U, 1176U, 1245U, 1324U, 1386U, 1452U, 1510U, 1565U,
                    1553U, 1506U, 1455U, 1398U, 1336U, 1268U, 1212U, 1158U, 1141U, 1155U, 1207U, 1275U, 1338U, 1411U, 1468U, 1522U, 1575U,
                    1587U, 1538U, 1481U, 1430U, 1370U, 1310U, 1248U, 1204U, 1184U, 1200U, 1250U, 1313U, 1378U, 1442U, 1494U, 1555U, 1600U,
                    1613U, 1574U, 1520U, 1468U, 1410U, 1351U, 1301U, 1248U, 1235U, 1248U, 1295U, 1359U, 1425U, 1470U, 1522U, 1584U, 1641U,
                    1637U, 1605U, 1537U, 1481U, 1441U, 1380U, 1331U, 1287U, 1268U, 1282U, 1324U, 1389U, 1440U, 1488U, 1554U, 1605U, 1677U
                },
            },
        },
    },

    // array item 1
    {
       .fVignetting    = 100.0f,
       .LscMatrix      =
       {
           // ISI_COLOR_COMPONENT_RED
           {
               {
                   1895U, 1794U, 1699U, 1630U, 1553U, 1463U, 1390U, 1325U, 1299U, 1317U, 1381U, 1470U, 1550U, 1622U, 1713U, 1809U, 1881U,
                   1859U, 1786U, 1704U, 1623U, 1540U, 1457U, 1365U, 1302U, 1269U, 1292U, 1364U, 1451U, 1545U, 1614U, 1703U, 1791U, 1864U,
                   1808U, 1750U, 1663U, 1587U, 1493U, 1398U, 1308U, 1235U, 1208U, 1231U, 1305U, 1396U, 1498U, 1582U, 1666U, 1743U, 1834U,
                   1792U, 1704U, 1626U, 1535U, 1451U, 1349U, 1257U, 1180U, 1153U, 1179U, 1253U, 1351U, 1453U, 1546U, 1626U, 1714U, 1787U,
                   1745U, 1683U, 1587U, 1516U, 1409U, 1308U, 1212U, 1137U, 1112U, 1134U, 1206U, 1308U, 1419U, 1510U, 1602U, 1679U, 1772U,
                   1738U, 1657U, 1585U, 1490U, 1386U, 1280U, 1173U, 1104U, 1073U, 1101U, 1171U, 1275U, 1379U, 1492U, 1583U, 1663U, 1732U,
                   1705U, 1648U, 1554U, 1465U, 1357U, 1250U, 1149U, 1074U, 1046U, 1066U, 1142U, 1243U, 1357U, 1468U, 1559U, 1652U, 1716U,
                   1706U, 1632U, 1555U, 1457U, 1349U, 1236U, 1132U, 1056U, 1031U, 1051U, 1120U, 1226U, 1344U, 1456U, 1551U, 1642U, 1715U,
                   1706U, 1636U, 1552U, 1456U, 1344U, 1232U, 1130U, 1052U, 1024U, 1045U, 1122U, 1220U, 1342U, 1451U, 1548U, 1629U, 1708U,
                   1722U, 1646U, 1562U, 1465U, 1352U, 1242U, 1136U, 1060U, 1034U, 1055U, 1129U, 1232U, 1344U, 1459U, 1559U, 1644U, 1713U,
                   1731U, 1654U, 1574U, 1483U, 1373U, 1260U, 1154U, 1082U, 1051U, 1074U, 1149U, 1251U, 1367U, 1477U, 1571U, 1663U, 1720U,
                   1749U, 1686U, 1591U, 1507U, 1402U, 1289U, 1190U, 1111U, 1082U, 1108U, 1178U, 1277U, 1394U, 1504U, 1592U, 1664U, 1756U,
                   1804U, 1723U, 1652U, 1553U, 1452U, 1345U, 1242U, 1166U, 1139U, 1158U, 1228U, 1333U, 1447U, 1540U, 1632U, 1726U, 1770U,
                   1816U, 1742U, 1658U, 1577U, 1483U, 1376U, 1283U, 1207U, 1175U, 1200U, 1268U, 1362U, 1475U, 1562U, 1654U, 1737U, 1816U,
                   1858U, 1780U, 1700U, 1621U, 1532U, 1437U, 1339U, 1265U, 1236U, 1256U, 1326U, 1422U, 1518U, 1610U, 1692U, 1772U, 1841U,
                   1891U, 1823U, 1736U, 1665U, 1567U, 1488U, 1395U, 1328U, 1298U, 1315U, 1384U, 1470U, 1575U, 1648U, 1728U, 1809U, 1901U,
                   1926U, 1873U, 1774U, 1686U, 1607U, 1519U, 1436U, 1371U, 1346U, 1362U, 1434U, 1521U, 1585U, 1684U, 1745U, 1852U, 1909U
               },
           }, 
    
           // ISI_COLOR_COMPONENT_GREENR
           {
               {
                   1673U, 1618U, 1534U, 1476U, 1406U, 1346U, 1284U, 1243U, 1224U, 1231U, 1281U, 1344U, 1416U, 1470U, 1546U, 1627U, 1704U,
                   1681U, 1617U, 1547U, 1483U, 1418U, 1352U, 1287U, 1240U, 1214U, 1233U, 1281U, 1344U, 1419U, 1481U, 1549U, 1618U, 1685U,
                   1629U, 1580U, 1506U, 1442U, 1376U, 1303U, 1236U, 1182U, 1160U, 1181U, 1235U, 1304U, 1377U, 1448U, 1516U, 1582U, 1656U,
                   1606U, 1551U, 1482U, 1416U, 1342U, 1266U, 1192U, 1141U, 1124U, 1140U, 1194U, 1271U, 1348U, 1420U, 1486U, 1552U, 1621U,
                   1583U, 1530U, 1454U, 1391U, 1316U, 1236U, 1156U, 1113U, 1095U, 1108U, 1158U, 1239U, 1316U, 1393U, 1463U, 1527U, 1602U,
                   1562U, 1509U, 1443U, 1368U, 1292U, 1210U, 1132U, 1083U, 1063U, 1084U, 1131U, 1207U, 1294U, 1378U, 1450U, 1516U, 1580U,
                   1555U, 1492U, 1426U, 1354U, 1276U, 1187U, 1110U, 1062U, 1040U, 1057U, 1112U, 1186U, 1274U, 1357U, 1436U, 1495U, 1564U,
                   1541U, 1487U, 1418U, 1345U, 1264U, 1173U, 1103U, 1045U, 1025U, 1043U, 1097U, 1168U, 1262U, 1349U, 1419U, 1494U, 1548U,
                   1547U, 1493U, 1422U, 1348U, 1263U, 1173U, 1101U, 1042U, 1024U, 1040U, 1097U, 1169U, 1260U, 1346U, 1425U, 1500U, 1555U,
                   1554U, 1500U, 1430U, 1353U, 1270U, 1178U, 1106U, 1049U, 1031U, 1047U, 1103U, 1175U, 1268U, 1355U, 1434U, 1502U, 1568U,
                   1573U, 1511U, 1443U, 1368U, 1286U, 1198U, 1123U, 1068U, 1048U, 1067U, 1119U, 1195U, 1286U, 1372U, 1445U, 1519U, 1571U,
                   1578U, 1527U, 1460U, 1387U, 1306U, 1224U, 1144U, 1092U, 1073U, 1092U, 1141U, 1218U, 1303U, 1392U, 1462U, 1530U, 1599U,
                   1631U, 1566U, 1501U, 1429U, 1348U, 1266U, 1189U, 1131U, 1116U, 1131U, 1184U, 1263U, 1348U, 1428U, 1502U, 1570U, 1638U,
                   1632U, 1587U, 1513U, 1448U, 1373U, 1293U, 1219U, 1162U, 1139U, 1159U, 1217U, 1286U, 1368U, 1446U, 1516U, 1580U, 1652U,
                   1675U, 1615U, 1552U, 1479U, 1412U, 1338U, 1265U, 1213U, 1194U, 1210U, 1263U, 1331U, 1408U, 1477U, 1544U, 1615U, 1682U,
                   1702U, 1666U, 1582U, 1519U, 1453U, 1383U, 1315U, 1265U, 1243U, 1263U, 1312U, 1378U, 1448U, 1513U, 1580U, 1653U, 1731U,
                   1747U, 1677U, 1625U, 1541U, 1483U, 1412U, 1353U, 1303U, 1284U, 1298U, 1348U, 1413U, 1475U, 1543U, 1605U, 1682U, 1758U
               },
           },
    
           // ISI_COLOR_COMPONENT_GREENB
           {
               {
                   1673U, 1618U, 1534U, 1476U, 1406U, 1346U, 1284U, 1243U, 1224U, 1231U, 1281U, 1344U, 1416U, 1470U, 1546U, 1627U, 1704U,
                   1681U, 1617U, 1547U, 1483U, 1418U, 1352U, 1287U, 1240U, 1214U, 1233U, 1281U, 1344U, 1419U, 1481U, 1549U, 1618U, 1685U,
                   1629U, 1580U, 1506U, 1442U, 1376U, 1303U, 1236U, 1182U, 1160U, 1181U, 1235U, 1304U, 1377U, 1448U, 1516U, 1582U, 1656U,
                   1606U, 1551U, 1482U, 1416U, 1342U, 1266U, 1192U, 1141U, 1124U, 1140U, 1194U, 1271U, 1348U, 1420U, 1486U, 1552U, 1621U,
                   1583U, 1530U, 1454U, 1391U, 1316U, 1236U, 1156U, 1113U, 1095U, 1108U, 1158U, 1239U, 1316U, 1393U, 1463U, 1527U, 1602U,
                   1562U, 1509U, 1443U, 1368U, 1292U, 1210U, 1132U, 1083U, 1063U, 1084U, 1131U, 1207U, 1294U, 1378U, 1450U, 1516U, 1580U,
                   1555U, 1492U, 1426U, 1354U, 1276U, 1187U, 1110U, 1062U, 1040U, 1057U, 1112U, 1186U, 1274U, 1357U, 1436U, 1495U, 1564U,
                   1541U, 1487U, 1418U, 1345U, 1264U, 1173U, 1103U, 1045U, 1025U, 1043U, 1097U, 1168U, 1262U, 1349U, 1419U, 1494U, 1548U,
                   1547U, 1493U, 1422U, 1348U, 1263U, 1173U, 1101U, 1042U, 1024U, 1040U, 1097U, 1169U, 1260U, 1346U, 1425U, 1500U, 1555U,
                   1554U, 1500U, 1430U, 1353U, 1270U, 1178U, 1106U, 1049U, 1031U, 1047U, 1103U, 1175U, 1268U, 1355U, 1434U, 1502U, 1568U,
                   1573U, 1511U, 1443U, 1368U, 1286U, 1198U, 1123U, 1068U, 1048U, 1067U, 1119U, 1195U, 1286U, 1372U, 1445U, 1519U, 1571U,
                   1578U, 1527U, 1460U, 1387U, 1306U, 1224U, 1144U, 1092U, 1073U, 1092U, 1141U, 1218U, 1303U, 1392U, 1462U, 1530U, 1599U,
                   1631U, 1566U, 1501U, 1429U, 1348U, 1266U, 1189U, 1131U, 1116U, 1131U, 1184U, 1263U, 1348U, 1428U, 1502U, 1570U, 1638U,
                   1632U, 1587U, 1513U, 1448U, 1373U, 1293U, 1219U, 1162U, 1139U, 1159U, 1217U, 1286U, 1368U, 1446U, 1516U, 1580U, 1652U,
                   1675U, 1615U, 1552U, 1479U, 1412U, 1338U, 1265U, 1213U, 1194U, 1210U, 1263U, 1331U, 1408U, 1477U, 1544U, 1615U, 1682U,
                   1702U, 1666U, 1582U, 1519U, 1453U, 1383U, 1315U, 1265U, 1243U, 1263U, 1312U, 1378U, 1448U, 1513U, 1580U, 1653U, 1731U,
                   1747U, 1677U, 1625U, 1541U, 1483U, 1412U, 1353U, 1303U, 1284U, 1298U, 1348U, 1413U, 1475U, 1543U, 1605U, 1682U, 1758U
               },
           },
    
           // ISI_COLOR_COMPONENT_BLUE
           {
               {
                   1587U, 1506U, 1456U, 1405U, 1352U, 1307U, 1252U, 1217U, 1194U, 1205U, 1251U, 1305U, 1352U, 1406U, 1471U, 1524U, 1607U,
                   1557U, 1511U, 1459U, 1402U, 1352U, 1297U, 1246U, 1203U, 1179U, 1199U, 1238U, 1296U, 1352U, 1405U, 1469U, 1536U, 1587U,
                   1526U, 1492U, 1425U, 1375U, 1324U, 1261U, 1212U, 1156U, 1140U, 1156U, 1203U, 1261U, 1326U, 1385U, 1442U, 1498U, 1555U,
                   1504U, 1465U, 1406U, 1355U, 1292U, 1236U, 1170U, 1124U, 1104U, 1120U, 1169U, 1233U, 1300U, 1363U, 1418U, 1477U, 1544U,
                   1488U, 1444U, 1388U, 1332U, 1268U, 1203U, 1142U, 1094U, 1075U, 1095U, 1141U, 1207U, 1281U, 1336U, 1407U, 1457U, 1510U,
                   1481U, 1432U, 1376U, 1318U, 1252U, 1186U, 1121U, 1070U, 1053U, 1069U, 1117U, 1185U, 1258U, 1323U, 1387U, 1442U, 1501U,
                   1467U, 1421U, 1364U, 1301U, 1237U, 1168U, 1101U, 1054U, 1033U, 1052U, 1098U, 1167U, 1245U, 1313U, 1375U, 1436U, 1491U,
                   1465U, 1415U, 1362U, 1298U, 1232U, 1159U, 1096U, 1043U, 1024U, 1040U, 1087U, 1156U, 1234U, 1304U, 1368U, 1431U, 1486U,
                   1463U, 1424U, 1364U, 1301U, 1231U, 1159U, 1091U, 1045U, 1025U, 1040U, 1088U, 1159U, 1234U, 1306U, 1376U, 1437U, 1488U,
                   1468U, 1423U, 1365U, 1310U, 1235U, 1163U, 1097U, 1050U, 1029U, 1044U, 1094U, 1164U, 1239U, 1317U, 1383U, 1437U, 1494U,
                   1487U, 1448U, 1378U, 1327U, 1252U, 1181U, 1118U, 1065U, 1043U, 1066U, 1112U, 1180U, 1262U, 1331U, 1398U, 1459U, 1503U,
                   1503U, 1458U, 1407U, 1338U, 1276U, 1203U, 1141U, 1090U, 1072U, 1086U, 1142U, 1203U, 1284U, 1354U, 1416U, 1482U, 1512U,
                   1540U, 1496U, 1434U, 1377U, 1313U, 1246U, 1180U, 1129U, 1111U, 1129U, 1176U, 1245U, 1324U, 1386U, 1452U, 1510U, 1565U,
                   1553U, 1506U, 1455U, 1398U, 1336U, 1268U, 1212U, 1158U, 1141U, 1155U, 1207U, 1275U, 1338U, 1411U, 1468U, 1522U, 1575U,
                   1587U, 1538U, 1481U, 1430U, 1370U, 1310U, 1248U, 1204U, 1184U, 1200U, 1250U, 1313U, 1378U, 1442U, 1494U, 1555U, 1600U,
                   1613U, 1574U, 1520U, 1468U, 1410U, 1351U, 1301U, 1248U, 1235U, 1248U, 1295U, 1359U, 1425U, 1470U, 1522U, 1584U, 1641U,
                   1637U, 1605U, 1537U, 1481U, 1441U, 1380U, 1331U, 1287U, 1268U, 1282U, 1324U, 1389U, 1440U, 1488U, 1554U, 1605U, 1677U
               },
           },
       },
    },
};

IsiLscMatrixTable_t OV5630_LscMatrixTable_CIE_A_1280x720 = 
{
    .ArraySize          = AWB_LSCMATRIX_ARRAY_SIZE,
    .psIsiVignLscMatrix = &OV5630_VignLscMatrix_CIE_A_1280x720[0],
    .LscXGradTbl        = {  655U, 555U, 489U, 449U, 395U, 349U, 312U, 301U },
    .LscYGradTbl        = { 1214U, 780U, 728U, 712U, 697U, 669U, 630U, 630U },
    .LscXSizeTbl        = { 50U, 59U, 67U, 73U, 83U, 94U, 105U, 109U },
    .LscYSizeTbl        = { 27U, 42U, 45U, 46U, 47U, 49U, 52U, 52U }
};


// vignetting dependend lsc matrices ( 1080pXX  1920x1080 )
IsiVignLscMatrix_t OV5630_VignLscMatrix_CIE_A_1920x1080[AWB_LSCMATRIX_ARRAY_SIZE] = 
{
    // array item 0
    {
        .fVignetting    = 80.0f,
        .LscMatrix      =
        {
            // ISI_COLOR_COMPONENT_RED
            {
                {
                    1506U, 1468U, 1430U, 1361U, 1315U, 1256U, 1203U, 1169U, 1160U, 1162U, 1203U, 1253U, 1312U, 1367U, 1415U, 1449U, 1497U,
                    1518U, 1475U, 1425U, 1373U, 1318U, 1259U, 1201U, 1168U, 1157U, 1170U, 1197U, 1254U, 1303U, 1365U, 1422U, 1471U, 1509U,
                    1492U, 1448U, 1394U, 1337U, 1273U, 1217U, 1172U, 1139U, 1124U, 1129U, 1165U, 1219U, 1279U, 1336U, 1391U, 1451U, 1479U,
                    1477U, 1433U, 1379U, 1319U, 1263U, 1196U, 1149U, 1107U, 1096U, 1106U, 1139U, 1185U, 1245U, 1310U, 1372U, 1424U, 1477U,
                    1464U, 1418U, 1355U, 1299U, 1234U, 1173U, 1121U, 1087U, 1073U, 1080U, 1111U, 1164U, 1226U, 1287U, 1352U, 1412U, 1449U,
                    1450U, 1402U, 1342U, 1281U, 1213U, 1154U, 1100U, 1062U, 1050U, 1061U, 1094U, 1141U, 1204U, 1270U, 1335U, 1391U, 1448U,
                    1450U, 1397U, 1332U, 1268U, 1207U, 1145U, 1088U, 1050U, 1043U, 1043U, 1081U, 1128U, 1190U, 1257U, 1326U, 1391U, 1433U,
                    1457U, 1396U, 1335U, 1266U, 1197U, 1140U, 1082U, 1048U, 1029U, 1038U, 1075U, 1122U, 1186U, 1252U, 1317U, 1379U, 1444U,
                    1454U, 1392U, 1328U, 1264U, 1196U, 1135U, 1079U, 1041U, 1024U, 1039U, 1071U, 1122U, 1179U, 1248U, 1323U, 1379U, 1431U,
                    1461U, 1397U, 1335U, 1267U, 1203U, 1139U, 1084U, 1045U, 1035U, 1043U, 1069U, 1128U, 1189U, 1253U, 1325U, 1385U, 1444U,
                    1467U, 1405U, 1341U, 1279U, 1215U, 1152U, 1095U, 1055U, 1040U, 1051U, 1083U, 1136U, 1194U, 1262U, 1336U, 1393U, 1451U,
                    1475U, 1429U, 1361U, 1300U, 1224U, 1170U, 1113U, 1075U, 1065U, 1069U, 1104U, 1153U, 1213U, 1283U, 1345U, 1416U, 1463U,
                    1490U, 1438U, 1378U, 1313U, 1253U, 1189U, 1134U, 1099U, 1080U, 1091U, 1124U, 1173U, 1233U, 1298U, 1365U, 1424U, 1474U,
                    1502U, 1467U, 1399U, 1341U, 1278U, 1225U, 1161U, 1125U, 1112U, 1116U, 1156U, 1207U, 1263U, 1329U, 1386U, 1452U, 1486U,
                    1525U, 1491U, 1431U, 1364U, 1311U, 1248U, 1199U, 1159U, 1141U, 1151U, 1182U, 1229U, 1291U, 1348U, 1416U, 1462U, 1502U,
                    1567U, 1508U, 1463U, 1400U, 1345U, 1288U, 1231U, 1196U, 1180U, 1187U, 1223U, 1273U, 1326U, 1389U, 1437U, 1483U, 1550U,
                    1583U, 1523U, 1470U, 1422U, 1348U, 1301U, 1256U, 1215U, 1200U, 1218U, 1236U, 1281U, 1351U, 1392U, 1458U, 1507U, 1538U
                },
            }, 

            // ISI_COLOR_COMPONENT_GREENR
            {
                {
                    1301U, 1279U, 1251U, 1224U, 1190U, 1153U, 1121U, 1100U, 1095U, 1097U, 1126U, 1148U, 1181U, 1229U, 1256U, 1285U, 1298U,
                    1340U, 1311U, 1289U, 1245U, 1214U, 1176U, 1148U, 1124U, 1113U, 1123U, 1143U, 1174U, 1211U, 1247U, 1284U, 1314U, 1334U,
                    1316U, 1293U, 1261U, 1224U, 1190U, 1150U, 1113U, 1095U, 1084U, 1092U, 1116U, 1144U, 1185U, 1228U, 1259U, 1289U, 1322U,
                    1309U, 1282U, 1242U, 1213U, 1173U, 1134U, 1097U, 1079U, 1071U, 1074U, 1095U, 1128U, 1167U, 1205U, 1242U, 1277U, 1306U,
                    1306U, 1276U, 1239U, 1201U, 1157U, 1117U, 1079U, 1064U, 1054U, 1060U, 1079U, 1112U, 1156U, 1202U, 1235U, 1277U, 1310U,
                    1288U, 1262U, 1225U, 1185U, 1142U, 1103U, 1069U, 1048U, 1039U, 1044U, 1067U, 1098U, 1136U, 1184U, 1228U, 1266U, 1290U,
                    1294U, 1258U, 1227U, 1182U, 1137U, 1094U, 1061U, 1039U, 1031U, 1033U, 1058U, 1085U, 1127U, 1173U, 1215U, 1258U, 1287U,
                    1298U, 1259U, 1216U, 1175U, 1132U, 1090U, 1060U, 1035U, 1025U, 1029U, 1056U, 1083U, 1122U, 1171U, 1215U, 1257U, 1287U,
                    1300U, 1259U, 1223U, 1177U, 1131U, 1090U, 1056U, 1032U, 1024U, 1032U, 1058U, 1082U, 1126U, 1170U, 1215U, 1256U, 1292U,
                    1302U, 1266U, 1222U, 1178U, 1135U, 1091U, 1065U, 1037U, 1028U, 1033U, 1056U, 1087U, 1130U, 1173U, 1219U, 1260U, 1290U,
                    1306U, 1273U, 1228U, 1189U, 1146U, 1103U, 1070U, 1045U, 1037U, 1045U, 1065U, 1094U, 1136U, 1182U, 1225U, 1264U, 1305U,
                    1308U, 1280U, 1239U, 1201U, 1155U, 1114U, 1080U, 1058U, 1048U, 1054U, 1077U, 1107U, 1148U, 1191U, 1232U, 1273U, 1303U,
                    1320U, 1288U, 1250U, 1214U, 1174U, 1131U, 1092U, 1072U, 1066U, 1074U, 1088U, 1120U, 1164U, 1203U, 1242U, 1284U, 1312U,
                    1337U, 1304U, 1271U, 1230U, 1192U, 1151U, 1118U, 1091U, 1084U, 1089U, 1111U, 1148U, 1186U, 1228U, 1267U, 1306U, 1334U,
                    1349U, 1322U, 1288U, 1250U, 1214U, 1178U, 1137U, 1116U, 1104U, 1117U, 1132U, 1168U, 1203U, 1243U, 1280U, 1316U, 1336U,
                    1371U, 1340U, 1316U, 1270U, 1237U, 1198U, 1169U, 1144U, 1132U, 1137U, 1163U, 1194U, 1232U, 1263U, 1300U, 1335U, 1365U,
                    1365U, 1351U, 1318U, 1288U, 1249U, 1218U, 1180U, 1157U, 1147U, 1158U, 1175U, 1208U, 1244U, 1285U, 1309U, 1337U, 1356U
                 },
            },

            // ISI_COLOR_COMPONENT_GREENB
            {
                {
                    1301U, 1279U, 1251U, 1224U, 1190U, 1153U, 1121U, 1100U, 1095U, 1097U, 1126U, 1148U, 1181U, 1229U, 1256U, 1285U, 1298U,
                    1340U, 1311U, 1289U, 1245U, 1214U, 1176U, 1148U, 1124U, 1113U, 1123U, 1143U, 1174U, 1211U, 1247U, 1284U, 1314U, 1334U,
                    1316U, 1293U, 1261U, 1224U, 1190U, 1150U, 1113U, 1095U, 1084U, 1092U, 1116U, 1144U, 1185U, 1228U, 1259U, 1289U, 1322U,
                    1309U, 1282U, 1242U, 1213U, 1173U, 1134U, 1097U, 1079U, 1071U, 1074U, 1095U, 1128U, 1167U, 1205U, 1242U, 1277U, 1306U,
                    1306U, 1276U, 1239U, 1201U, 1157U, 1117U, 1079U, 1064U, 1054U, 1060U, 1079U, 1112U, 1156U, 1202U, 1235U, 1277U, 1310U,
                    1288U, 1262U, 1225U, 1185U, 1142U, 1103U, 1069U, 1048U, 1039U, 1044U, 1067U, 1098U, 1136U, 1184U, 1228U, 1266U, 1290U,
                    1294U, 1258U, 1227U, 1182U, 1137U, 1094U, 1061U, 1039U, 1031U, 1033U, 1058U, 1085U, 1127U, 1173U, 1215U, 1258U, 1287U,
                    1298U, 1259U, 1216U, 1175U, 1132U, 1090U, 1060U, 1035U, 1025U, 1029U, 1056U, 1083U, 1122U, 1171U, 1215U, 1257U, 1287U,
                    1300U, 1259U, 1223U, 1177U, 1131U, 1090U, 1056U, 1032U, 1024U, 1032U, 1058U, 1082U, 1126U, 1170U, 1215U, 1256U, 1292U,
                    1302U, 1266U, 1222U, 1178U, 1135U, 1091U, 1065U, 1037U, 1028U, 1033U, 1056U, 1087U, 1130U, 1173U, 1219U, 1260U, 1290U,
                    1306U, 1273U, 1228U, 1189U, 1146U, 1103U, 1070U, 1045U, 1037U, 1045U, 1065U, 1094U, 1136U, 1182U, 1225U, 1264U, 1305U,
                    1308U, 1280U, 1239U, 1201U, 1155U, 1114U, 1080U, 1058U, 1048U, 1054U, 1077U, 1107U, 1148U, 1191U, 1232U, 1273U, 1303U,
                    1320U, 1288U, 1250U, 1214U, 1174U, 1131U, 1092U, 1072U, 1066U, 1074U, 1088U, 1120U, 1164U, 1203U, 1242U, 1284U, 1312U,
                    1337U, 1304U, 1271U, 1230U, 1192U, 1151U, 1118U, 1091U, 1084U, 1089U, 1111U, 1148U, 1186U, 1228U, 1267U, 1306U, 1334U,
                    1349U, 1322U, 1288U, 1250U, 1214U, 1178U, 1137U, 1116U, 1104U, 1117U, 1132U, 1168U, 1203U, 1243U, 1280U, 1316U, 1336U,
                    1371U, 1340U, 1316U, 1270U, 1237U, 1198U, 1169U, 1144U, 1132U, 1137U, 1163U, 1194U, 1232U, 1263U, 1300U, 1335U, 1365U,
                    1365U, 1351U, 1318U, 1288U, 1249U, 1218U, 1180U, 1157U, 1147U, 1158U, 1175U, 1208U, 1244U, 1285U, 1309U, 1337U, 1356U
                 },
            },

            // ISI_COLOR_COMPONENT_BLUE
            {
                {
                    1268U, 1245U, 1225U, 1202U, 1176U, 1151U, 1114U, 1096U, 1089U, 1101U, 1108U, 1149U, 1168U, 1201U, 1224U, 1248U, 1273U,
                    1282U, 1268U, 1244U, 1214U, 1180U, 1150U, 1122U, 1099U, 1093U, 1098U, 1117U, 1147U, 1182U, 1212U, 1244U, 1271U, 1284U,
                    1277U, 1252U, 1221U, 1195U, 1162U, 1134U, 1103U, 1079U, 1075U, 1078U, 1095U, 1126U, 1162U, 1196U, 1226U, 1252U, 1283U,
                    1263U, 1248U, 1214U, 1184U, 1149U, 1118U, 1088U, 1066U, 1055U, 1063U, 1083U, 1115U, 1145U, 1180U, 1218U, 1245U, 1271U,
                    1259U, 1231U, 1207U, 1172U, 1138U, 1107U, 1072U, 1048U, 1042U, 1052U, 1066U, 1099U, 1132U, 1167U, 1213U, 1233U, 1267U,
                    1254U, 1229U, 1195U, 1163U, 1126U, 1091U, 1063U, 1039U, 1029U, 1039U, 1055U, 1084U, 1122U, 1157U, 1196U, 1233U, 1257U,
                    1253U, 1230U, 1198U, 1163U, 1123U, 1090U, 1056U, 1035U, 1026U, 1032U, 1051U, 1082U, 1115U, 1156U, 1198U, 1223U, 1268U,
                    1260U, 1224U, 1196U, 1157U, 1119U, 1089U, 1057U, 1031U, 1024U, 1029U, 1049U, 1078U, 1115U, 1155U, 1194U, 1234U, 1256U,
                    1256U, 1232U, 1196U, 1159U, 1121U, 1090U, 1057U, 1029U, 1025U, 1031U, 1046U, 1080U, 1115U, 1155U, 1199U, 1233U, 1262U,
                    1262U, 1238U, 1204U, 1164U, 1125U, 1093U, 1062U, 1038U, 1025U, 1036U, 1052U, 1085U, 1124U, 1160U, 1199U, 1237U, 1269U,
                    1269U, 1243U, 1204U, 1174U, 1136U, 1103U, 1066U, 1041U, 1033U, 1042U, 1062U, 1094U, 1124U, 1172U, 1210U, 1245U, 1276U,
                    1280U, 1256U, 1221U, 1184U, 1147U, 1112U, 1083U, 1057U, 1048U, 1054U, 1078U, 1106U, 1141U, 1183U, 1227U, 1258U, 1290U,
                    1291U, 1259U, 1232U, 1197U, 1156U, 1130U, 1094U, 1076U, 1062U, 1069U, 1091U, 1117U, 1155U, 1193U, 1236U, 1266U, 1297U,
                    1301U, 1282U, 1243U, 1213U, 1176U, 1140U, 1111U, 1090U, 1084U, 1088U, 1112U, 1139U, 1174U, 1213U, 1251U, 1283U, 1311U,
                    1315U, 1291U, 1263U, 1233U, 1203U, 1168U, 1141U, 1115U, 1104U, 1114U, 1132U, 1159U, 1202U, 1230U, 1269U, 1302U, 1319U,
                    1334U, 1307U, 1290U, 1252U, 1224U, 1191U, 1160U, 1146U, 1131U, 1137U, 1155U, 1191U, 1218U, 1253U, 1289U, 1321U, 1344U,
                    1357U, 1325U, 1289U, 1266U, 1244U, 1203U, 1183U, 1150U, 1146U, 1155U, 1169U, 1202U, 1238U, 1267U, 1297U, 1328U, 1337U
                 },
            },
        },
    },

    // array item 1
    {
       .fVignetting    = 100.0f,
       .LscMatrix      =
       {
           // ISI_COLOR_COMPONENT_RED
           {
               {
                    1506U, 1468U, 1430U, 1361U, 1315U, 1256U, 1203U, 1169U, 1160U, 1162U, 1203U, 1253U, 1312U, 1367U, 1415U, 1449U, 1497U,
                    1518U, 1475U, 1425U, 1373U, 1318U, 1259U, 1201U, 1168U, 1157U, 1170U, 1197U, 1254U, 1303U, 1365U, 1422U, 1471U, 1509U,
                    1492U, 1448U, 1394U, 1337U, 1273U, 1217U, 1172U, 1139U, 1124U, 1129U, 1165U, 1219U, 1279U, 1336U, 1391U, 1451U, 1479U,
                    1477U, 1433U, 1379U, 1319U, 1263U, 1196U, 1149U, 1107U, 1096U, 1106U, 1139U, 1185U, 1245U, 1310U, 1372U, 1424U, 1477U,
                    1464U, 1418U, 1355U, 1299U, 1234U, 1173U, 1121U, 1087U, 1073U, 1080U, 1111U, 1164U, 1226U, 1287U, 1352U, 1412U, 1449U,
                    1450U, 1402U, 1342U, 1281U, 1213U, 1154U, 1100U, 1062U, 1050U, 1061U, 1094U, 1141U, 1204U, 1270U, 1335U, 1391U, 1448U,
                    1450U, 1397U, 1332U, 1268U, 1207U, 1145U, 1088U, 1050U, 1043U, 1043U, 1081U, 1128U, 1190U, 1257U, 1326U, 1391U, 1433U,
                    1457U, 1396U, 1335U, 1266U, 1197U, 1140U, 1082U, 1048U, 1029U, 1038U, 1075U, 1122U, 1186U, 1252U, 1317U, 1379U, 1444U,
                    1454U, 1392U, 1328U, 1264U, 1196U, 1135U, 1079U, 1041U, 1024U, 1039U, 1071U, 1122U, 1179U, 1248U, 1323U, 1379U, 1431U,
                    1461U, 1397U, 1335U, 1267U, 1203U, 1139U, 1084U, 1045U, 1035U, 1043U, 1069U, 1128U, 1189U, 1253U, 1325U, 1385U, 1444U,
                    1467U, 1405U, 1341U, 1279U, 1215U, 1152U, 1095U, 1055U, 1040U, 1051U, 1083U, 1136U, 1194U, 1262U, 1336U, 1393U, 1451U,
                    1475U, 1429U, 1361U, 1300U, 1224U, 1170U, 1113U, 1075U, 1065U, 1069U, 1104U, 1153U, 1213U, 1283U, 1345U, 1416U, 1463U,
                    1490U, 1438U, 1378U, 1313U, 1253U, 1189U, 1134U, 1099U, 1080U, 1091U, 1124U, 1173U, 1233U, 1298U, 1365U, 1424U, 1474U,
                    1502U, 1467U, 1399U, 1341U, 1278U, 1225U, 1161U, 1125U, 1112U, 1116U, 1156U, 1207U, 1263U, 1329U, 1386U, 1452U, 1486U,
                    1525U, 1491U, 1431U, 1364U, 1311U, 1248U, 1199U, 1159U, 1141U, 1151U, 1182U, 1229U, 1291U, 1348U, 1416U, 1462U, 1502U,
                    1567U, 1508U, 1463U, 1400U, 1345U, 1288U, 1231U, 1196U, 1180U, 1187U, 1223U, 1273U, 1326U, 1389U, 1437U, 1483U, 1550U,
                    1583U, 1523U, 1470U, 1422U, 1348U, 1301U, 1256U, 1215U, 1200U, 1218U, 1236U, 1281U, 1351U, 1392U, 1458U, 1507U, 1538U
                },
           }, 
    
           // ISI_COLOR_COMPONENT_GREENR
           {
               {
                    1301U, 1279U, 1251U, 1224U, 1190U, 1153U, 1121U, 1100U, 1095U, 1097U, 1126U, 1148U, 1181U, 1229U, 1256U, 1285U, 1298U,
                    1340U, 1311U, 1289U, 1245U, 1214U, 1176U, 1148U, 1124U, 1113U, 1123U, 1143U, 1174U, 1211U, 1247U, 1284U, 1314U, 1334U,
                    1316U, 1293U, 1261U, 1224U, 1190U, 1150U, 1113U, 1095U, 1084U, 1092U, 1116U, 1144U, 1185U, 1228U, 1259U, 1289U, 1322U,
                    1309U, 1282U, 1242U, 1213U, 1173U, 1134U, 1097U, 1079U, 1071U, 1074U, 1095U, 1128U, 1167U, 1205U, 1242U, 1277U, 1306U,
                    1306U, 1276U, 1239U, 1201U, 1157U, 1117U, 1079U, 1064U, 1054U, 1060U, 1079U, 1112U, 1156U, 1202U, 1235U, 1277U, 1310U,
                    1288U, 1262U, 1225U, 1185U, 1142U, 1103U, 1069U, 1048U, 1039U, 1044U, 1067U, 1098U, 1136U, 1184U, 1228U, 1266U, 1290U,
                    1294U, 1258U, 1227U, 1182U, 1137U, 1094U, 1061U, 1039U, 1031U, 1033U, 1058U, 1085U, 1127U, 1173U, 1215U, 1258U, 1287U,
                    1298U, 1259U, 1216U, 1175U, 1132U, 1090U, 1060U, 1035U, 1025U, 1029U, 1056U, 1083U, 1122U, 1171U, 1215U, 1257U, 1287U,
                    1300U, 1259U, 1223U, 1177U, 1131U, 1090U, 1056U, 1032U, 1024U, 1032U, 1058U, 1082U, 1126U, 1170U, 1215U, 1256U, 1292U,
                    1302U, 1266U, 1222U, 1178U, 1135U, 1091U, 1065U, 1037U, 1028U, 1033U, 1056U, 1087U, 1130U, 1173U, 1219U, 1260U, 1290U,
                    1306U, 1273U, 1228U, 1189U, 1146U, 1103U, 1070U, 1045U, 1037U, 1045U, 1065U, 1094U, 1136U, 1182U, 1225U, 1264U, 1305U,
                    1308U, 1280U, 1239U, 1201U, 1155U, 1114U, 1080U, 1058U, 1048U, 1054U, 1077U, 1107U, 1148U, 1191U, 1232U, 1273U, 1303U,
                    1320U, 1288U, 1250U, 1214U, 1174U, 1131U, 1092U, 1072U, 1066U, 1074U, 1088U, 1120U, 1164U, 1203U, 1242U, 1284U, 1312U,
                    1337U, 1304U, 1271U, 1230U, 1192U, 1151U, 1118U, 1091U, 1084U, 1089U, 1111U, 1148U, 1186U, 1228U, 1267U, 1306U, 1334U,
                    1349U, 1322U, 1288U, 1250U, 1214U, 1178U, 1137U, 1116U, 1104U, 1117U, 1132U, 1168U, 1203U, 1243U, 1280U, 1316U, 1336U,
                    1371U, 1340U, 1316U, 1270U, 1237U, 1198U, 1169U, 1144U, 1132U, 1137U, 1163U, 1194U, 1232U, 1263U, 1300U, 1335U, 1365U,
                    1365U, 1351U, 1318U, 1288U, 1249U, 1218U, 1180U, 1157U, 1147U, 1158U, 1175U, 1208U, 1244U, 1285U, 1309U, 1337U, 1356U
                },
           },
    
           // ISI_COLOR_COMPONENT_GREENB
           {
               {
                    1301U, 1279U, 1251U, 1224U, 1190U, 1153U, 1121U, 1100U, 1095U, 1097U, 1126U, 1148U, 1181U, 1229U, 1256U, 1285U, 1298U,
                    1340U, 1311U, 1289U, 1245U, 1214U, 1176U, 1148U, 1124U, 1113U, 1123U, 1143U, 1174U, 1211U, 1247U, 1284U, 1314U, 1334U,
                    1316U, 1293U, 1261U, 1224U, 1190U, 1150U, 1113U, 1095U, 1084U, 1092U, 1116U, 1144U, 1185U, 1228U, 1259U, 1289U, 1322U,
                    1309U, 1282U, 1242U, 1213U, 1173U, 1134U, 1097U, 1079U, 1071U, 1074U, 1095U, 1128U, 1167U, 1205U, 1242U, 1277U, 1306U,
                    1306U, 1276U, 1239U, 1201U, 1157U, 1117U, 1079U, 1064U, 1054U, 1060U, 1079U, 1112U, 1156U, 1202U, 1235U, 1277U, 1310U,
                    1288U, 1262U, 1225U, 1185U, 1142U, 1103U, 1069U, 1048U, 1039U, 1044U, 1067U, 1098U, 1136U, 1184U, 1228U, 1266U, 1290U,
                    1294U, 1258U, 1227U, 1182U, 1137U, 1094U, 1061U, 1039U, 1031U, 1033U, 1058U, 1085U, 1127U, 1173U, 1215U, 1258U, 1287U,
                    1298U, 1259U, 1216U, 1175U, 1132U, 1090U, 1060U, 1035U, 1025U, 1029U, 1056U, 1083U, 1122U, 1171U, 1215U, 1257U, 1287U,
                    1300U, 1259U, 1223U, 1177U, 1131U, 1090U, 1056U, 1032U, 1024U, 1032U, 1058U, 1082U, 1126U, 1170U, 1215U, 1256U, 1292U,
                    1302U, 1266U, 1222U, 1178U, 1135U, 1091U, 1065U, 1037U, 1028U, 1033U, 1056U, 1087U, 1130U, 1173U, 1219U, 1260U, 1290U,
                    1306U, 1273U, 1228U, 1189U, 1146U, 1103U, 1070U, 1045U, 1037U, 1045U, 1065U, 1094U, 1136U, 1182U, 1225U, 1264U, 1305U,
                    1308U, 1280U, 1239U, 1201U, 1155U, 1114U, 1080U, 1058U, 1048U, 1054U, 1077U, 1107U, 1148U, 1191U, 1232U, 1273U, 1303U,
                    1320U, 1288U, 1250U, 1214U, 1174U, 1131U, 1092U, 1072U, 1066U, 1074U, 1088U, 1120U, 1164U, 1203U, 1242U, 1284U, 1312U,
                    1337U, 1304U, 1271U, 1230U, 1192U, 1151U, 1118U, 1091U, 1084U, 1089U, 1111U, 1148U, 1186U, 1228U, 1267U, 1306U, 1334U,
                    1349U, 1322U, 1288U, 1250U, 1214U, 1178U, 1137U, 1116U, 1104U, 1117U, 1132U, 1168U, 1203U, 1243U, 1280U, 1316U, 1336U,
                    1371U, 1340U, 1316U, 1270U, 1237U, 1198U, 1169U, 1144U, 1132U, 1137U, 1163U, 1194U, 1232U, 1263U, 1300U, 1335U, 1365U,
                    1365U, 1351U, 1318U, 1288U, 1249U, 1218U, 1180U, 1157U, 1147U, 1158U, 1175U, 1208U, 1244U, 1285U, 1309U, 1337U, 1356U
                },
           },
    
           // ISI_COLOR_COMPONENT_BLUE
           {
               {
                    1268U, 1245U, 1225U, 1202U, 1176U, 1151U, 1114U, 1096U, 1089U, 1101U, 1108U, 1149U, 1168U, 1201U, 1224U, 1248U, 1273U,
                    1282U, 1268U, 1244U, 1214U, 1180U, 1150U, 1122U, 1099U, 1093U, 1098U, 1117U, 1147U, 1182U, 1212U, 1244U, 1271U, 1284U,
                    1277U, 1252U, 1221U, 1195U, 1162U, 1134U, 1103U, 1079U, 1075U, 1078U, 1095U, 1126U, 1162U, 1196U, 1226U, 1252U, 1283U,
                    1263U, 1248U, 1214U, 1184U, 1149U, 1118U, 1088U, 1066U, 1055U, 1063U, 1083U, 1115U, 1145U, 1180U, 1218U, 1245U, 1271U,
                    1259U, 1231U, 1207U, 1172U, 1138U, 1107U, 1072U, 1048U, 1042U, 1052U, 1066U, 1099U, 1132U, 1167U, 1213U, 1233U, 1267U,
                    1254U, 1229U, 1195U, 1163U, 1126U, 1091U, 1063U, 1039U, 1029U, 1039U, 1055U, 1084U, 1122U, 1157U, 1196U, 1233U, 1257U,
                    1253U, 1230U, 1198U, 1163U, 1123U, 1090U, 1056U, 1035U, 1026U, 1032U, 1051U, 1082U, 1115U, 1156U, 1198U, 1223U, 1268U,
                    1260U, 1224U, 1196U, 1157U, 1119U, 1089U, 1057U, 1031U, 1024U, 1029U, 1049U, 1078U, 1115U, 1155U, 1194U, 1234U, 1256U,
                    1256U, 1232U, 1196U, 1159U, 1121U, 1090U, 1057U, 1029U, 1025U, 1031U, 1046U, 1080U, 1115U, 1155U, 1199U, 1233U, 1262U,
                    1262U, 1238U, 1204U, 1164U, 1125U, 1093U, 1062U, 1038U, 1025U, 1036U, 1052U, 1085U, 1124U, 1160U, 1199U, 1237U, 1269U,
                    1269U, 1243U, 1204U, 1174U, 1136U, 1103U, 1066U, 1041U, 1033U, 1042U, 1062U, 1094U, 1124U, 1172U, 1210U, 1245U, 1276U,
                    1280U, 1256U, 1221U, 1184U, 1147U, 1112U, 1083U, 1057U, 1048U, 1054U, 1078U, 1106U, 1141U, 1183U, 1227U, 1258U, 1290U,
                    1291U, 1259U, 1232U, 1197U, 1156U, 1130U, 1094U, 1076U, 1062U, 1069U, 1091U, 1117U, 1155U, 1193U, 1236U, 1266U, 1297U,
                    1301U, 1282U, 1243U, 1213U, 1176U, 1140U, 1111U, 1090U, 1084U, 1088U, 1112U, 1139U, 1174U, 1213U, 1251U, 1283U, 1311U,
                    1315U, 1291U, 1263U, 1233U, 1203U, 1168U, 1141U, 1115U, 1104U, 1114U, 1132U, 1159U, 1202U, 1230U, 1269U, 1302U, 1319U,
                    1334U, 1307U, 1290U, 1252U, 1224U, 1191U, 1160U, 1146U, 1131U, 1137U, 1155U, 1191U, 1218U, 1253U, 1289U, 1321U, 1344U,
                    1357U, 1325U, 1289U, 1266U, 1244U, 1203U, 1183U, 1150U, 1146U, 1155U, 1169U, 1202U, 1238U, 1267U, 1297U, 1328U, 1337U
                },
           },
       },
    },
};

IsiLscMatrixTable_t OV5630_LscMatrixTable_CIE_A_1920x1080 = 
{
    .ArraySize          = AWB_LSCMATRIX_ARRAY_SIZE,
    .psIsiVignLscMatrix = &OV5630_VignLscMatrix_CIE_A_1920x1080[0],
    .LscXGradTbl        = { 386U, 345U, 318U, 290U, 262U, 237U, 220U, 216U },
    .LscYGradTbl        = { 819U, 512U, 482U, 462U, 455U, 437U, 443U, 431U },
    .LscXSizeTbl        = { 85U,  95U, 103U, 113U, 125U, 138U, 149U, 152U },
    .LscYSizeTbl        = { 40U, 64U, 68U, 71U, 72U, 75U, 74U, 76U }
};



// vignetting dependend lsc matrices ( 1080pXX  1920x1080 )
IsiVignLscMatrix_t OV5630_VignLscMatrix_CIE_A_2592x1944[AWB_LSCMATRIX_ARRAY_SIZE] = 
{
    // array item 0
    {
        .fVignetting    = 80.0f,
        .LscMatrix      =
        {
            // ISI_COLOR_COMPONENT_RED
            {
                {
                    2414U, 2251U, 2082U, 1947U, 1827U, 1702U, 1620U, 1545U, 1515U, 1529U, 1576U, 1638U, 1716U, 1810U, 1902U, 2026U, 2155U, 
                    2300U, 2132U, 1968U, 1852U, 1720U, 1625U, 1527U, 1454U, 1424U, 1435U, 1484U, 1563U, 1637U, 1715U, 1813U, 1914U, 2056U,
                    2206U, 2030U, 1895U, 1773U, 1660U, 1555U, 1452U, 1378U, 1344U, 1354U, 1412U, 1488U, 1584U, 1652U, 1740U, 1849U, 1952U,
                    2102U, 1936U, 1821U, 1699U, 1593U, 1482U, 1372U, 1291U, 1258U, 1274U, 1329U, 1416U, 1507U, 1596U, 1665U, 1764U, 1864U,
                    2009U, 1879U, 1751U, 1641U, 1532U, 1403U, 1297U, 1214U, 1176U, 1195U, 1254U, 1346U, 1439U, 1534U, 1616U, 1698U, 1783U,
                    1938U, 1819U, 1696U, 1596U, 1467U, 1338U, 1227U, 1142U, 1113U, 1126U, 1185U, 1276U, 1378U, 1479U, 1569U, 1644U, 1730U,
                    1906U, 1770U, 1658U, 1551U, 1414U, 1285U, 1173U, 1091U, 1061U, 1075U, 1131U, 1223U, 1330U, 1431U, 1530U, 1615U, 1689U,
                    1880U, 1751U, 1641U, 1528U, 1394U, 1255U, 1142U, 1063U, 1033U, 1048U, 1098U, 1191U, 1297U, 1408U, 1508U, 1601U, 1665U,
                    1878U, 1742U, 1642U, 1526U, 1388U, 1255U, 1136U, 1058U, 1024U, 1039U, 1088U, 1180U, 1295U, 1407U, 1504U, 1592U, 1665U,
                    1904U, 1765U, 1661U, 1548U, 1411U, 1280U, 1156U, 1074U, 1044U, 1053U, 1108U, 1201U, 1311U, 1422U, 1518U, 1604U, 1676U,
                    1932U, 1812U, 1692U, 1589U, 1459U, 1323U, 1203U, 1115U, 1085U, 1090U, 1147U, 1240U, 1357U, 1459U, 1556U, 1636U, 1709U,
                    2005U, 1866U, 1747U, 1649U, 1530U, 1389U, 1270U, 1185U, 1146U, 1153U, 1214U, 1303U, 1415U, 1519U, 1605U, 1678U, 1768U,
                    2075U, 1947U, 1815U, 1716U, 1601U, 1469U, 1353U, 1263U, 1225U, 1235U, 1288U, 1387U, 1484U, 1583U, 1658U, 1747U, 1825U,
                    2185U, 2023U, 1908U, 1782U, 1676U, 1563U, 1447U, 1362U, 1312U, 1324U, 1380U, 1473U, 1566U, 1653U, 1726U, 1809U, 1902U,
                    2281U, 2121U, 1995U, 1878U, 1749U, 1652U, 1544U, 1459U, 1415U, 1421U, 1479U, 1558U, 1644U, 1721U, 1804U, 1901U, 1989U,
                    2390U, 2232U, 2088U, 1957U, 1836U, 1724U, 1636U, 1553U, 1517U, 1515U, 1570U, 1636U, 1711U, 1789U, 1880U, 1981U, 2075U,
                    2505U, 2342U, 2184U, 2046U, 1931U, 1793U, 1718U, 1644U, 1608U, 1604U, 1649U, 1703U, 1795U, 1875U, 1962U, 2071U, 2190U
                 },
            }, 

            // ISI_COLOR_COMPONENT_GREENR
            {
                {
                    2109U, 1982U, 1848U, 1725U, 1629U, 1537U, 1470U, 1419U, 1398U, 1408U, 1437U, 1483U, 1546U, 1616U, 1696U, 1813U, 1894U,
                    2038U, 1899U, 1776U, 1668U, 1569U, 1487U, 1412U, 1364U, 1341U, 1346U, 1386U, 1436U, 1498U, 1565U, 1648U, 1735U, 1842U,
                    1953U, 1833U, 1706U, 1605U, 1515U, 1428U, 1353U, 1302U, 1282U, 1288U, 1322U, 1380U, 1442U, 1508U, 1578U, 1668U, 1751U,
                    1891U, 1749U, 1648U, 1555U, 1462U, 1376U, 1295U, 1243U, 1214U, 1227U, 1266U, 1320U, 1390U, 1454U, 1523U, 1599U, 1685U,
                    1828U, 1701U, 1603U, 1508U, 1419U, 1319U, 1241U, 1175U, 1150U, 1157U, 1205U, 1273U, 1339U, 1416U, 1483U, 1560U, 1629U,
                    1768U, 1662U, 1562U, 1476U, 1372U, 1272U, 1188U, 1121U, 1094U, 1104U, 1148U, 1224U, 1298U, 1373U, 1447U, 1519U, 1584U,
                    1723U, 1620U, 1519U, 1432U, 1326U, 1232U, 1140U, 1075U, 1049U, 1060U, 1103U, 1175U, 1260U, 1337U, 1408U, 1478U, 1546U,
                    1726U, 1612U, 1516U, 1424U, 1315U, 1208U, 1114U, 1051U, 1027U, 1039U, 1079U, 1151U, 1240U, 1319U, 1402U, 1479U, 1540U,
                    1719U, 1611U, 1515U, 1417U, 1311U, 1209U, 1111U, 1047U, 1024U, 1032U, 1072U, 1141U, 1234U, 1319U, 1399U, 1469U, 1532U,
                    1727U, 1620U, 1530U, 1436U, 1334U, 1228U, 1132U, 1063U, 1040U, 1049U, 1090U, 1163U, 1250U, 1330U, 1408U, 1477U, 1544U,
                    1774U, 1667U, 1564U, 1471U, 1371U, 1270U, 1174U, 1108U, 1080U, 1083U, 1129U, 1199U, 1287U, 1366U, 1443U, 1508U, 1575U,
                    1818U, 1702U, 1604U, 1519U, 1423U, 1320U, 1233U, 1164U, 1139U, 1140U, 1184U, 1255U, 1328U, 1409U, 1477U, 1548U, 1610U,
                    1875U, 1764U, 1659U, 1577U, 1482U, 1385U, 1302U, 1236U, 1205U, 1210U, 1251U, 1317U, 1385U, 1461U, 1528U, 1599U, 1669U,
                    1962U, 1839U, 1731U, 1646U, 1546U, 1459U, 1369U, 1314U, 1281U, 1288U, 1318U, 1382U, 1450U, 1517U, 1586U, 1663U, 1733U,
                    2034U, 1900U, 1813U, 1708U, 1616U, 1526U, 1450U, 1396U, 1359U, 1361U, 1394U, 1452U, 1512U, 1584U, 1647U, 1730U, 1810U,
                    2118U, 1995U, 1888U, 1784U, 1689U, 1602U, 1531U, 1467U, 1448U, 1437U, 1480U, 1516U, 1587U, 1643U, 1723U, 1810U, 1883U,
                    2203U, 2090U, 1963U, 1867U, 1765U, 1670U, 1612U, 1546U, 1527U, 1517U, 1549U, 1582U, 1655U, 1716U, 1797U, 1882U, 1984U
                 },
            },

            // ISI_COLOR_COMPONENT_GREENB
            {
                {
                    2109U, 1982U, 1848U, 1725U, 1629U, 1537U, 1470U, 1419U, 1398U, 1408U, 1437U, 1483U, 1546U, 1616U, 1696U, 1813U, 1894U,
                    2038U, 1899U, 1776U, 1668U, 1569U, 1487U, 1412U, 1364U, 1341U, 1346U, 1386U, 1436U, 1498U, 1565U, 1648U, 1735U, 1842U,
                    1953U, 1833U, 1706U, 1605U, 1515U, 1428U, 1353U, 1302U, 1282U, 1288U, 1322U, 1380U, 1442U, 1508U, 1578U, 1668U, 1751U,
                    1891U, 1749U, 1648U, 1555U, 1462U, 1376U, 1295U, 1243U, 1214U, 1227U, 1266U, 1320U, 1390U, 1454U, 1523U, 1599U, 1685U,
                    1828U, 1701U, 1603U, 1508U, 1419U, 1319U, 1241U, 1175U, 1150U, 1157U, 1205U, 1273U, 1339U, 1416U, 1483U, 1560U, 1629U,
                    1768U, 1662U, 1562U, 1476U, 1372U, 1272U, 1188U, 1121U, 1094U, 1104U, 1148U, 1224U, 1298U, 1373U, 1447U, 1519U, 1584U,
                    1723U, 1620U, 1519U, 1432U, 1326U, 1232U, 1140U, 1075U, 1049U, 1060U, 1103U, 1175U, 1260U, 1337U, 1408U, 1478U, 1546U,
                    1726U, 1612U, 1516U, 1424U, 1315U, 1208U, 1114U, 1051U, 1027U, 1039U, 1079U, 1151U, 1240U, 1319U, 1402U, 1479U, 1540U,
                    1719U, 1611U, 1515U, 1417U, 1311U, 1209U, 1111U, 1047U, 1024U, 1032U, 1072U, 1141U, 1234U, 1319U, 1399U, 1469U, 1532U,
                    1727U, 1620U, 1530U, 1436U, 1334U, 1228U, 1132U, 1063U, 1040U, 1049U, 1090U, 1163U, 1250U, 1330U, 1408U, 1477U, 1544U,
                    1774U, 1667U, 1564U, 1471U, 1371U, 1270U, 1174U, 1108U, 1080U, 1083U, 1129U, 1199U, 1287U, 1366U, 1443U, 1508U, 1575U,
                    1818U, 1702U, 1604U, 1519U, 1423U, 1320U, 1233U, 1164U, 1139U, 1140U, 1184U, 1255U, 1328U, 1409U, 1477U, 1548U, 1610U,
                    1875U, 1764U, 1659U, 1577U, 1482U, 1385U, 1302U, 1236U, 1205U, 1210U, 1251U, 1317U, 1385U, 1461U, 1528U, 1599U, 1669U,
                    1962U, 1839U, 1731U, 1646U, 1546U, 1459U, 1369U, 1314U, 1281U, 1288U, 1318U, 1382U, 1450U, 1517U, 1586U, 1663U, 1733U,
                    2034U, 1900U, 1813U, 1708U, 1616U, 1526U, 1450U, 1396U, 1359U, 1361U, 1394U, 1452U, 1512U, 1584U, 1647U, 1730U, 1810U,
                    2118U, 1995U, 1888U, 1784U, 1689U, 1602U, 1531U, 1467U, 1448U, 1437U, 1480U, 1516U, 1587U, 1643U, 1723U, 1810U, 1883U,
                    2203U, 2090U, 1963U, 1867U, 1765U, 1670U, 1612U, 1546U, 1527U, 1517U, 1549U, 1582U, 1655U, 1716U, 1797U, 1882U, 1984U
                },
            },

            // ISI_COLOR_COMPONENT_BLUE
            {
                {
                    2042U, 1901U, 1766U, 1665U, 1579U, 1498U, 1434U, 1397U, 1375U, 1392U, 1427U, 1475U, 1530U, 1593U, 1661U, 1769U, 1881U,
                    1966U, 1824U, 1703U, 1609U, 1529U, 1457U, 1389U, 1347U, 1327U, 1342U, 1376U, 1433U, 1488U, 1556U, 1619U, 1701U, 1799U,
                    1879U, 1755U, 1632U, 1564U, 1474U, 1399U, 1336U, 1282U, 1264U, 1280U, 1322U, 1384U, 1438U, 1500U, 1559U, 1639U, 1715U,
                    1809U, 1674U, 1586U, 1507U, 1427U, 1346U, 1274U, 1224U, 1203U, 1218U, 1262U, 1320U, 1393U, 1451U, 1514U, 1587U, 1655U,
                    1744U, 1621U, 1540U, 1457U, 1373U, 1289U, 1218U, 1156U, 1139U, 1154U, 1199U, 1274U, 1336U, 1403U, 1467U, 1543U, 1599U,
                    1674U, 1584U, 1493U, 1413U, 1328U, 1244U, 1162U, 1107U, 1088U, 1103U, 1149U, 1220U, 1294U, 1370U, 1435U, 1508U, 1562U,
                    1657U, 1553U, 1468U, 1384U, 1289U, 1201U, 1119U, 1068U, 1052U, 1063U, 1106U, 1177U, 1256U, 1332U, 1403U, 1474U, 1546U,
                    1634U, 1537U, 1444U, 1366U, 1272U, 1175U, 1095U, 1048U, 1028U, 1045U, 1081U, 1150U, 1231U, 1320U, 1387U, 1462U, 1521U,
                    1627U, 1528U, 1447U, 1363U, 1265U, 1169U, 1091U, 1042U, 1024U, 1038U, 1077U, 1143U, 1228U, 1308U, 1389U, 1459U, 1515U,
                    1641U, 1545U, 1457U, 1375U, 1285U, 1189U, 1107U, 1056U, 1038U, 1053U, 1090U, 1159U, 1246U, 1327U, 1399U, 1471U, 1534U,
                    1669U, 1576U, 1489U, 1408U, 1319U, 1229U, 1145U, 1091U, 1072U, 1083U, 1127U, 1193U, 1275U, 1359U, 1427U, 1501U, 1565U,
                    1725U, 1609U, 1530U, 1457U, 1372U, 1284U, 1202U, 1143U, 1122U, 1131U, 1178U, 1247U, 1326U, 1402U, 1470U, 1544U, 1596U,
                    1781U, 1662U, 1586U, 1513U, 1429U, 1347U, 1273U, 1210U, 1186U, 1195U, 1240U, 1310U, 1380U, 1451U, 1522U, 1593U, 1642U,
                    1849U, 1737U, 1635U, 1576U, 1499U, 1422U, 1350U, 1288U, 1265U, 1273U, 1312U, 1382U, 1440U, 1515U, 1576U, 1643U, 1713U,
                    1939U, 1803U, 1715U, 1636U, 1571U, 1495U, 1427U, 1375U, 1347U, 1355U, 1390U, 1448U, 1512U, 1583U, 1632U, 1718U, 1789U,
                    2014U, 1898U, 1796U, 1700U, 1626U, 1567U, 1501U, 1447U, 1426U, 1427U, 1468U, 1512U, 1578U, 1627U, 1697U, 1786U, 1862U,
                    2107U, 2014U, 1901U, 1808U, 1704U, 1644U, 1583U, 1540U, 1519U, 1519U, 1551U, 1599U, 1652U, 1712U, 1796U, 1883U, 1988U
                },
            },
        },
    },

    // array item 1
    {
       .fVignetting    = 100.0f,
       .LscMatrix      =
       {
           // ISI_COLOR_COMPONENT_RED
           {
               {
                    2414U, 2251U, 2082U, 1947U, 1827U, 1702U, 1620U, 1545U, 1515U, 1529U, 1576U, 1638U, 1716U, 1810U, 1902U, 2026U, 2155U, 
                    2300U, 2132U, 1968U, 1852U, 1720U, 1625U, 1527U, 1454U, 1424U, 1435U, 1484U, 1563U, 1637U, 1715U, 1813U, 1914U, 2056U,
                    2206U, 2030U, 1895U, 1773U, 1660U, 1555U, 1452U, 1378U, 1344U, 1354U, 1412U, 1488U, 1584U, 1652U, 1740U, 1849U, 1952U,
                    2102U, 1936U, 1821U, 1699U, 1593U, 1482U, 1372U, 1291U, 1258U, 1274U, 1329U, 1416U, 1507U, 1596U, 1665U, 1764U, 1864U,
                    2009U, 1879U, 1751U, 1641U, 1532U, 1403U, 1297U, 1214U, 1176U, 1195U, 1254U, 1346U, 1439U, 1534U, 1616U, 1698U, 1783U,
                    1938U, 1819U, 1696U, 1596U, 1467U, 1338U, 1227U, 1142U, 1113U, 1126U, 1185U, 1276U, 1378U, 1479U, 1569U, 1644U, 1730U,
                    1906U, 1770U, 1658U, 1551U, 1414U, 1285U, 1173U, 1091U, 1061U, 1075U, 1131U, 1223U, 1330U, 1431U, 1530U, 1615U, 1689U,
                    1880U, 1751U, 1641U, 1528U, 1394U, 1255U, 1142U, 1063U, 1033U, 1048U, 1098U, 1191U, 1297U, 1408U, 1508U, 1601U, 1665U,
                    1878U, 1742U, 1642U, 1526U, 1388U, 1255U, 1136U, 1058U, 1024U, 1039U, 1088U, 1180U, 1295U, 1407U, 1504U, 1592U, 1665U,
                    1904U, 1765U, 1661U, 1548U, 1411U, 1280U, 1156U, 1074U, 1044U, 1053U, 1108U, 1201U, 1311U, 1422U, 1518U, 1604U, 1676U,
                    1932U, 1812U, 1692U, 1589U, 1459U, 1323U, 1203U, 1115U, 1085U, 1090U, 1147U, 1240U, 1357U, 1459U, 1556U, 1636U, 1709U,
                    2005U, 1866U, 1747U, 1649U, 1530U, 1389U, 1270U, 1185U, 1146U, 1153U, 1214U, 1303U, 1415U, 1519U, 1605U, 1678U, 1768U,
                    2075U, 1947U, 1815U, 1716U, 1601U, 1469U, 1353U, 1263U, 1225U, 1235U, 1288U, 1387U, 1484U, 1583U, 1658U, 1747U, 1825U,
                    2185U, 2023U, 1908U, 1782U, 1676U, 1563U, 1447U, 1362U, 1312U, 1324U, 1380U, 1473U, 1566U, 1653U, 1726U, 1809U, 1902U,
                    2281U, 2121U, 1995U, 1878U, 1749U, 1652U, 1544U, 1459U, 1415U, 1421U, 1479U, 1558U, 1644U, 1721U, 1804U, 1901U, 1989U,
                    2390U, 2232U, 2088U, 1957U, 1836U, 1724U, 1636U, 1553U, 1517U, 1515U, 1570U, 1636U, 1711U, 1789U, 1880U, 1981U, 2075U,
                    2505U, 2342U, 2184U, 2046U, 1931U, 1793U, 1718U, 1644U, 1608U, 1604U, 1649U, 1703U, 1795U, 1875U, 1962U, 2071U, 2190U
               },
           }, 
    
           // ISI_COLOR_COMPONENT_GREENR
           {
               {
                    2109U, 1982U, 1848U, 1725U, 1629U, 1537U, 1470U, 1419U, 1398U, 1408U, 1437U, 1483U, 1546U, 1616U, 1696U, 1813U, 1894U,
                    2038U, 1899U, 1776U, 1668U, 1569U, 1487U, 1412U, 1364U, 1341U, 1346U, 1386U, 1436U, 1498U, 1565U, 1648U, 1735U, 1842U,
                    1953U, 1833U, 1706U, 1605U, 1515U, 1428U, 1353U, 1302U, 1282U, 1288U, 1322U, 1380U, 1442U, 1508U, 1578U, 1668U, 1751U,
                    1891U, 1749U, 1648U, 1555U, 1462U, 1376U, 1295U, 1243U, 1214U, 1227U, 1266U, 1320U, 1390U, 1454U, 1523U, 1599U, 1685U,
                    1828U, 1701U, 1603U, 1508U, 1419U, 1319U, 1241U, 1175U, 1150U, 1157U, 1205U, 1273U, 1339U, 1416U, 1483U, 1560U, 1629U,
                    1768U, 1662U, 1562U, 1476U, 1372U, 1272U, 1188U, 1121U, 1094U, 1104U, 1148U, 1224U, 1298U, 1373U, 1447U, 1519U, 1584U,
                    1723U, 1620U, 1519U, 1432U, 1326U, 1232U, 1140U, 1075U, 1049U, 1060U, 1103U, 1175U, 1260U, 1337U, 1408U, 1478U, 1546U,
                    1726U, 1612U, 1516U, 1424U, 1315U, 1208U, 1114U, 1051U, 1027U, 1039U, 1079U, 1151U, 1240U, 1319U, 1402U, 1479U, 1540U,
                    1719U, 1611U, 1515U, 1417U, 1311U, 1209U, 1111U, 1047U, 1024U, 1032U, 1072U, 1141U, 1234U, 1319U, 1399U, 1469U, 1532U,
                    1727U, 1620U, 1530U, 1436U, 1334U, 1228U, 1132U, 1063U, 1040U, 1049U, 1090U, 1163U, 1250U, 1330U, 1408U, 1477U, 1544U,
                    1774U, 1667U, 1564U, 1471U, 1371U, 1270U, 1174U, 1108U, 1080U, 1083U, 1129U, 1199U, 1287U, 1366U, 1443U, 1508U, 1575U,
                    1818U, 1702U, 1604U, 1519U, 1423U, 1320U, 1233U, 1164U, 1139U, 1140U, 1184U, 1255U, 1328U, 1409U, 1477U, 1548U, 1610U,
                    1875U, 1764U, 1659U, 1577U, 1482U, 1385U, 1302U, 1236U, 1205U, 1210U, 1251U, 1317U, 1385U, 1461U, 1528U, 1599U, 1669U,
                    1962U, 1839U, 1731U, 1646U, 1546U, 1459U, 1369U, 1314U, 1281U, 1288U, 1318U, 1382U, 1450U, 1517U, 1586U, 1663U, 1733U,
                    2034U, 1900U, 1813U, 1708U, 1616U, 1526U, 1450U, 1396U, 1359U, 1361U, 1394U, 1452U, 1512U, 1584U, 1647U, 1730U, 1810U,
                    2118U, 1995U, 1888U, 1784U, 1689U, 1602U, 1531U, 1467U, 1448U, 1437U, 1480U, 1516U, 1587U, 1643U, 1723U, 1810U, 1883U,
                    2203U, 2090U, 1963U, 1867U, 1765U, 1670U, 1612U, 1546U, 1527U, 1517U, 1549U, 1582U, 1655U, 1716U, 1797U, 1882U, 1984U
               },
           },
    
           // ISI_COLOR_COMPONENT_GREENB
           {
               {
                    2109U, 1982U, 1848U, 1725U, 1629U, 1537U, 1470U, 1419U, 1398U, 1408U, 1437U, 1483U, 1546U, 1616U, 1696U, 1813U, 1894U,
                    2038U, 1899U, 1776U, 1668U, 1569U, 1487U, 1412U, 1364U, 1341U, 1346U, 1386U, 1436U, 1498U, 1565U, 1648U, 1735U, 1842U,
                    1953U, 1833U, 1706U, 1605U, 1515U, 1428U, 1353U, 1302U, 1282U, 1288U, 1322U, 1380U, 1442U, 1508U, 1578U, 1668U, 1751U,
                    1891U, 1749U, 1648U, 1555U, 1462U, 1376U, 1295U, 1243U, 1214U, 1227U, 1266U, 1320U, 1390U, 1454U, 1523U, 1599U, 1685U,
                    1828U, 1701U, 1603U, 1508U, 1419U, 1319U, 1241U, 1175U, 1150U, 1157U, 1205U, 1273U, 1339U, 1416U, 1483U, 1560U, 1629U,
                    1768U, 1662U, 1562U, 1476U, 1372U, 1272U, 1188U, 1121U, 1094U, 1104U, 1148U, 1224U, 1298U, 1373U, 1447U, 1519U, 1584U,
                    1723U, 1620U, 1519U, 1432U, 1326U, 1232U, 1140U, 1075U, 1049U, 1060U, 1103U, 1175U, 1260U, 1337U, 1408U, 1478U, 1546U,
                    1726U, 1612U, 1516U, 1424U, 1315U, 1208U, 1114U, 1051U, 1027U, 1039U, 1079U, 1151U, 1240U, 1319U, 1402U, 1479U, 1540U,
                    1719U, 1611U, 1515U, 1417U, 1311U, 1209U, 1111U, 1047U, 1024U, 1032U, 1072U, 1141U, 1234U, 1319U, 1399U, 1469U, 1532U,
                    1727U, 1620U, 1530U, 1436U, 1334U, 1228U, 1132U, 1063U, 1040U, 1049U, 1090U, 1163U, 1250U, 1330U, 1408U, 1477U, 1544U,
                    1774U, 1667U, 1564U, 1471U, 1371U, 1270U, 1174U, 1108U, 1080U, 1083U, 1129U, 1199U, 1287U, 1366U, 1443U, 1508U, 1575U,
                    1818U, 1702U, 1604U, 1519U, 1423U, 1320U, 1233U, 1164U, 1139U, 1140U, 1184U, 1255U, 1328U, 1409U, 1477U, 1548U, 1610U,
                    1875U, 1764U, 1659U, 1577U, 1482U, 1385U, 1302U, 1236U, 1205U, 1210U, 1251U, 1317U, 1385U, 1461U, 1528U, 1599U, 1669U,
                    1962U, 1839U, 1731U, 1646U, 1546U, 1459U, 1369U, 1314U, 1281U, 1288U, 1318U, 1382U, 1450U, 1517U, 1586U, 1663U, 1733U,
                    2034U, 1900U, 1813U, 1708U, 1616U, 1526U, 1450U, 1396U, 1359U, 1361U, 1394U, 1452U, 1512U, 1584U, 1647U, 1730U, 1810U,
                    2118U, 1995U, 1888U, 1784U, 1689U, 1602U, 1531U, 1467U, 1448U, 1437U, 1480U, 1516U, 1587U, 1643U, 1723U, 1810U, 1883U,
                    2203U, 2090U, 1963U, 1867U, 1765U, 1670U, 1612U, 1546U, 1527U, 1517U, 1549U, 1582U, 1655U, 1716U, 1797U, 1882U, 1984U
               },
           },
    
           // ISI_COLOR_COMPONENT_BLUE
           {
               {
                    2042U, 1901U, 1766U, 1665U, 1579U, 1498U, 1434U, 1397U, 1375U, 1392U, 1427U, 1475U, 1530U, 1593U, 1661U, 1769U, 1881U,
                    1966U, 1824U, 1703U, 1609U, 1529U, 1457U, 1389U, 1347U, 1327U, 1342U, 1376U, 1433U, 1488U, 1556U, 1619U, 1701U, 1799U,
                    1879U, 1755U, 1632U, 1564U, 1474U, 1399U, 1336U, 1282U, 1264U, 1280U, 1322U, 1384U, 1438U, 1500U, 1559U, 1639U, 1715U,
                    1809U, 1674U, 1586U, 1507U, 1427U, 1346U, 1274U, 1224U, 1203U, 1218U, 1262U, 1320U, 1393U, 1451U, 1514U, 1587U, 1655U,
                    1744U, 1621U, 1540U, 1457U, 1373U, 1289U, 1218U, 1156U, 1139U, 1154U, 1199U, 1274U, 1336U, 1403U, 1467U, 1543U, 1599U,
                    1674U, 1584U, 1493U, 1413U, 1328U, 1244U, 1162U, 1107U, 1088U, 1103U, 1149U, 1220U, 1294U, 1370U, 1435U, 1508U, 1562U,
                    1657U, 1553U, 1468U, 1384U, 1289U, 1201U, 1119U, 1068U, 1052U, 1063U, 1106U, 1177U, 1256U, 1332U, 1403U, 1474U, 1546U,
                    1634U, 1537U, 1444U, 1366U, 1272U, 1175U, 1095U, 1048U, 1028U, 1045U, 1081U, 1150U, 1231U, 1320U, 1387U, 1462U, 1521U,
                    1627U, 1528U, 1447U, 1363U, 1265U, 1169U, 1091U, 1042U, 1024U, 1038U, 1077U, 1143U, 1228U, 1308U, 1389U, 1459U, 1515U,
                    1641U, 1545U, 1457U, 1375U, 1285U, 1189U, 1107U, 1056U, 1038U, 1053U, 1090U, 1159U, 1246U, 1327U, 1399U, 1471U, 1534U,
                    1669U, 1576U, 1489U, 1408U, 1319U, 1229U, 1145U, 1091U, 1072U, 1083U, 1127U, 1193U, 1275U, 1359U, 1427U, 1501U, 1565U,
                    1725U, 1609U, 1530U, 1457U, 1372U, 1284U, 1202U, 1143U, 1122U, 1131U, 1178U, 1247U, 1326U, 1402U, 1470U, 1544U, 1596U,
                    1781U, 1662U, 1586U, 1513U, 1429U, 1347U, 1273U, 1210U, 1186U, 1195U, 1240U, 1310U, 1380U, 1451U, 1522U, 1593U, 1642U,
                    1849U, 1737U, 1635U, 1576U, 1499U, 1422U, 1350U, 1288U, 1265U, 1273U, 1312U, 1382U, 1440U, 1515U, 1576U, 1643U, 1713U,
                    1939U, 1803U, 1715U, 1636U, 1571U, 1495U, 1427U, 1375U, 1347U, 1355U, 1390U, 1448U, 1512U, 1583U, 1632U, 1718U, 1789U,
                    2014U, 1898U, 1796U, 1700U, 1626U, 1567U, 1501U, 1447U, 1426U, 1427U, 1468U, 1512U, 1578U, 1627U, 1697U, 1786U, 1862U,
                    2107U, 2014U, 1901U, 1808U, 1704U, 1644U, 1583U, 1540U, 1519U, 1519U, 1551U, 1599U, 1652U, 1712U, 1796U, 1883U, 1988U
                },
           },
       },
    },
};

IsiLscMatrixTable_t OV5630_LscMatrixTable_CIE_A_2592x1944 = 
{
    .ArraySize          = AWB_LSCMATRIX_ARRAY_SIZE,
    .psIsiVignLscMatrix = &OV5630_VignLscMatrix_CIE_A_2592x1944[0],
    .LscXGradTbl        = { 312U, 275U, 246U, 217U, 194U, 172U, 155U, 150U },
    .LscYGradTbl        = { 372U, 328U, 303U, 275U, 260U, 239U, 226U, 220U },
    .LscXSizeTbl        = { 105U, 119U, 133U, 151U, 169U, 190U, 211U, 218U },
    .LscYSizeTbl        = {  88U, 100U, 108U, 119U, 126U, 137U, 145U, 149U }
};



#ifdef __cplusplus
}
#endif

/* @} ov5630_a */

#endif /* __OV5630_A_H__ */

